package com.qhit.service;

import com.qhit.entity.Student;

import java.sql.SQLException;
import java.util.List;

/**
 * TODO
 *
 * @author 村头老杨头
 * @version 1.0
 * @date 2021/10/12 10:59
 */
public interface StudentService {
    List<Student> getStudnetList() throws SQLException;
    Student getStudentById(String sno) throws SQLException;
    int addStudent(Student student) throws SQLException;
    int deleteStudent(String sno) throws SQLException;
}
